/**
 * 
 */
package com.chocolatefordogs.writersnb.main;

import com.chocolatefordogs.writersnb.menu.MainMenu;

/**
 * @author Matthew
 *
 */
public final class MainWindowController {
	
	public MainWindowController(final MainWindowView view) {
		this.view = view;
		this.menu = new MainMenu(this);
	}
	
	public void show() {
		view.setMenu(menu);
		view.show();
	}

	public void close() {
		view.close();
	}
	
	private final MainWindowView view;
	private final MainMenu menu;
}
